django with ajax
- Django + Ajax Full Tutorial Cource (46min) {YT}
- What can I do with it?
- without refresh/redirection, we can reflect data from database fetched!!!
- submit form without refreshing a page
- JsonResponse {django.http}
- 요청에 JSON으로 답장하고 싶다면 (API가 그렇듯이) 얘를 사용하면 된다.
- setInterval {jQuery}는 요청을 보낼 인터벌을 설정한다.